Cant make apache listen on an IP address and port
Cant make apache listen on an IP address and port
am 11.11.2009 13:48:00 von Siju George
HI I have the following ports.conf
NameVirtualHost *:80
Listen 80
# SSL name based virtual hosts are not yet supported, therefore no
# NameVirtualHost statement here
Listen 443
Listen 213.49.146.24:8080
I have this in sites-enabled
ServerAdmin webmaster@localhost
Redirect / https://213.49.146.24/
I have this line in /etc/hosts
213.49.146.24 isystem
when I try to restart apache it gives me this error
# apache2ctl start
apache2: Could not reliably determine the server's fully qualified
domain name, using 127.0.1.1 for ServerName
(99)Cannot assign requested address: make_sock: could not bind to
address 213.49.146.24:8080
no listening sockets available, shutting down
Unable to open logs
What could be the trouble?
Thanks
--Siju
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Cant make apache listen on an IP address and port
am 11.11.2009 13:51:47 von Igor Cicimov
--00504502bd71bb1423047817e34a
Content-Type: text/plain; charset=ISO-8859-1
You need the ServerName statement.
On Wed, Nov 11, 2009 at 11:48 PM, Siju George wrote:
> HI I have the following ports.conf
>
>
>
> NameVirtualHost *:80
> Listen 80
>
>
> # SSL name based virtual hosts are not yet supported, therefore no
> # NameVirtualHost statement here
> Listen 443
>
>
>
> Listen 213.49.146.24:8080
>
> I have this in sites-enabled
>
>
> ServerAdmin webmaster@localhost
> Redirect / https://213.49.146.24/
>
>
>
>
> I have this line in /etc/hosts
>
>
> 213.49.146.24 isystem
>
> when I try to restart apache it gives me this error
>
> # apache2ctl start
> apache2: Could not reliably determine the server's fully qualified
> domain name, using 127.0.1.1 for ServerName
> (99)Cannot assign requested address: make_sock: could not bind to
> address 213.49.146.24:8080
> no listening sockets available, shutting down
> Unable to open logs
>
> What could be the trouble?
>
> Thanks
>
> --Siju
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
--00504502bd71bb1423047817e34a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
You need the ServerName statement.
On Wed=
, Nov 11, 2009 at 11:48 PM, Siju George
<
tp://sgeorge.ml">sgeorge.ml@&=
gt; wrote:
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">HI I have the fol=
lowing ports.conf
NameVirtualHost *:80
Listen 80
<IfModule mod_ssl.c>
=A0 =A0# SSL name based virtual hosts are not yet supported, therefore no<=
br>
=A0 =A0# NameVirtualHost statement here
=A0 =A0Listen 443
</IfModule>
Listen 213.49.146.2=
4:8080
I have this in sites-enabled
<VirtualHost 213=
..49.146.24:8080>
=A0 =A0 =A0 =A0ServerAdmin webmaster@localhost
=A0 =A0 =A0 =A0Redirect /
ank">https://213.49.146.24/
</VirtualHost
I have this line in /etc/hosts
213.49.146.24 =A0 isystem
when I try to restart apache it gives me this error
# apache2ctl start
apache2: Could not reliably determine the server's fully qualified
domain name, using 127.0.1.1 for ServerName
(99)Cannot assign requested address: make_sock: could not bind to
address 213.49.146.=
24:8080
no listening sockets available, shutting down
Unable to open logs
What could be the trouble?
Thanks
--Siju
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL:
lank">http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail:
g">users-unsubscribe@httpd.apache.org
=A0 " =A0 from the digest:
@httpd.apache.org">users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail:
org">users-help@httpd.apache.org
--00504502bd71bb1423047817e34a--
Re: Cant make apache listen on an IP address and port
am 11.11.2009 14:04:24 von Philip Wigg
> (99)Cannot assign requested address: make_sock: could not bind to
> address 213.49.146.24:8080
> no listening sockets available, shutting down
> Unable to open logs
>
> What could be the trouble?
The server must actually have 213.49.146.24 as it's IP address. Is
that the case here? It's no good just putting the IP in /etc/hosts if
that IP isn't bound to one of the network interfaces.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Cant make apache listen on an IP address and port
am 11.11.2009 18:57:30 von Rich Bowen
On Nov 11, 2009, at 07:48 , Siju George wrote:
> # apache2ctl start
> apache2: Could not reliably determine the server's fully qualified
> domain name, using 127.0.1.1 for ServerName
> (99)Cannot assign requested address: make_sock: could not bind to
> address 213.49.146.24:8080
> no listening sockets available, shutting down
> Unable to open logs
Please see http://wiki.apache.org/httpd/CouldNotBindToAddress for an
in-depth discussion of this issue, and possible solutions.
Note that the first message ("Could not reliably ...") is a warning,
not an error, but you probably should set ServerName. The rest of the
message is an actual error condition.
--
Rich Bowen
rbowen@rcbowen.com
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Cant make apache listen on an IP address and port
am 12.11.2009 03:27:35 von Siju George
On Wed, Nov 11, 2009 at 6:34 PM, Philip Wigg wrote:
>> (99)Cannot assign requested address: make_sock: could not bind to
>> address 213.49.146.24:8080
>> no listening sockets available, shutting down
>> Unable to open logs
>>
>> What could be the trouble?
>
> The server must actually have 213.49.146.24 as it's IP address. Is
> that the case here? It's no good just putting the IP in /etc/hosts if
> that IP isn't bound to one of the network interfaces.
>
OK I got the point. It is working now :-)
Thanks Philip, Igor and Rich
--Siju
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org